$OpenBSD: patch-src_calibre_constants_py,v 1.3 2014/03/19 02:15:46 sthen Exp $

- add OpenBSD to list of recognized BSDs

--- src/calibre/constants.py.orig	Fri Nov  8 03:44:31 2013
+++ src/calibre/constants.py	Fri Nov  8 12:12:00 2013
@@ -21,7 +21,8 @@ isnewosx  = isosx and getattr(sys, 'new_app_bundle', F
 isfreebsd = 'freebsd' in _plat
 isnetbsd = 'netbsd' in _plat
 isdragonflybsd = 'dragonfly' in _plat
-isbsd = isfreebsd or isnetbsd or isdragonflybsd
+isopenbsd = 'openbsd' in _plat
+isbsd = isfreebsd or isnetbsd or isdragonflybsd or isopenbsd
 islinux   = not(iswindows or isosx or isbsd)
 isfrozen  = hasattr(sys, 'frozen')
 isunix = isosx or islinux
